package com.tencent.hummingbird.portal.vo;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Pattern;

@Data
public class ReSetVO {
    @NotBlank(message = "请输入原密码")
    private String oldPass;
    @NotBlank(message = "新密码不能为空")
    @Pattern(regexp = "^\\w{6,20}$",message = "密码长度6到20位")
    private String newPass;
    @NotBlank(message = "确认密码不能为空")
    private String confirmPasswd;
}
